#ifndef HASH_H
#define HASH_H

#include <QDialog>
#include "akrypt2.h"
#include "progress.h"
#include <libaxel/ak_keys.h>
#include <libaxel/ak_oid.h>
#include <libaxel/ak_hash.h>
//#include "hcthread.h"
#include "hthread.h"

namespace Ui {
    class HashDialog;
}

class MainWindow;
class ProgressDialog;


class HashDialog : public QDialog
{
    Q_OBJECT

public:
    explicit HashDialog(MainWindow *parent);
	ProgressDialog* pd;
    ~HashDialog();
private slots:
	void loadFiles();
	void deleteFiles();
	void hash();
	void moreFiles();
private:
	HThread* ht;
	Ui::HashDialog *ui;
	MainWindow *_parent;
	QStringList _idList;
};

#endif  // HASH_H
